package com.ruoyi.qualityControl.domain.vo;

/**
 * 结算类型
 *
 * @author ruoyi
 */
public enum QcInfoIndexExamineInTimeEnum
{
    collectDate("collectDate", "统计日期"),
    contractArea("contractArea", "网点名称"),
    networkName("networkName", "所属网点名称"),
    receiveTotalAmount("receiveTotalAmount", "揽收总量"),
    receiveLateAmount("receiveLateAmount", "揽收上传不及时量"),
    receiveLateRate("receiveLateRate", "揽收上传不及时率"),
    deliveryTotalAmount("deliveryTotalAmount", "派件总量"),
    deliveryLateAmount("deliveryLateAmount", "派件上传不及时量"),
    deliveryLateRate("deliveryLateRate", "派件上传不及时率"),
    signTotalAmount("signTotalAmount", "签收总量"),
    signLateAmount("signLateAmount", "签收上传不及时量"),
    signLateRate("signLateRate", "签收上传不及时率"),
    scanTotalAmount("scanTotalAmount", "扫描总量"),
    uploadLateTotalAmount("uploadLateTotalAmount", "上传不及时总量"),
    uploadLateTotalRate("uploadLateTotalRate", "上传不及时总率");

    private final String code;
    private final String info;

    QcInfoIndexExamineInTimeEnum(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }

    public static String getValue(String code) {
        if (code == null) {
            return "";
        }
        for (QcInfoIndexExamineInTimeEnum value : QcInfoIndexExamineInTimeEnum.values()) {
            if (value.code.equals(code)){
                return value.info;
            }
        }
        return "";
    }
}
